From 35f618e71dccc02a2226b9f8115d29ec878caf62 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 26 Jun 2014 14:41:02 -0400 Subject: [PATCH] gtkwindow: Remove an unnecessary set of grip setting We already update the grip position in _gtk_window_set_allocation, which is done through the size_allocate above. Receiving a ConfigureNotify also won't ever change a grip's visibility, so there's no point in refreshing it. --- gtk/gtkwindow.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 2fef625130..8f4785992c 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -9339,9 +9339,6 @@ gtk_window_move_resize (GtkWindow *window) /* gtk_window_configure_event() filled in widget->allocation */ gtk_widget_size_allocate (widget, &allocation); - set_grip_position (window); - update_grip_visibility (window); - /* If the configure request changed, it means that * we either: * 1) coincidentally changed hints or widget properties -- 2.30.2